import csv


# 读取文本文件并分割成块
with open('C:\\Users\\lihaoyang6\\Desktop\\refworks.txt', mode='r', encoding='gbk') as f:
    content = f.read()
    blocks = content.strip().split('\n\n')  # 用空行分割块
    print(blocks)
